
export default {
    data () {
        return {
            articles: []
        }
    },

    mounted: function() {
        this.$http,jsonp('https://api.douban.com/v2/movie/top250?count=10', {},{
            headers: {

            },
            emulateJSON: true
        }).then(res = res => {
            this.articles = res.data.subjects;
        },
        function(res) {
            console.log(res);
        }
    )
    }
}